package com.platform.modules.quality.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.platform.modules.quality.dao.QlyAcceptancePersonnelDao;
import com.platform.modules.quality.entity.QlyAcceptancePersonnelEntity;
import com.platform.modules.quality.service.QlyAcceptancePersonnelService;

@Service
public class QlyAcceptancePersonnelServiceImpl extends ServiceImpl<QlyAcceptancePersonnelDao, QlyAcceptancePersonnelEntity> implements QlyAcceptancePersonnelService {

    private static final Logger logger = LoggerFactory.getLogger(QlyAcceptancePersonnelServiceImpl.class);
    
    @Autowired
    QlyAcceptancePersonnelDao qlyAcceptancePersonnelDao;

	@Override
	public List<QlyAcceptancePersonnelEntity> queryByAccId(String accId) {
		Map<String, Object> m = new HashMap<String, Object>();
		m.put("ACC_ID", accId);
		return qlyAcceptancePersonnelDao.selectByMap(m);
	}

}
